package ${basePackage}.vo.entity;
<#assign hasDateField = false>
<#assign hasBigDecimal = false>
<#list columnList as data>
    <#if data.excludeFromVO == true >
        <#continue>
    </#if>
    <#if data.varType=='Date' && !hasDateField>
        <#assign hasDateField = true>
    </#if>
    <#if data.varType=='BigDecimal' && !hasBigDecimal>
        <#assign hasBigDecimal = true>
    </#if>
</#list>

<#if hasDateField>
import com.alibaba.fastjson.annotation.JSONField;
<#--import com.fasterxml.jackson.annotation.JsonFormat;-->
</#if>
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
<#if hasBigDecimal>
import java.math.BigDecimal;
</#if>
<#if hasDateField>
import java.util.Date;
</#if>

/**
 * ${tableInfo.tableComment}实体类
 *
 * @author ${author}
 * @date ${date}
 **/
@Data
public class ${tableInfo.className}EntityVO implements Serializable {
    private static final long serialVersionUID = 1L;
<#list columnList as data>
    <#if data.excludeFromVO == true >
        <#continue>
    </#if>

    <#if data.varType=='Date'>
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
<#--    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")-->
    </#if>
    @ApiModelProperty(value = "${data.columnComment}")
    private ${data.varType} ${data.varName};
</#list>
}
